package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FFtTickExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FFtTickExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNull() {
            addCriterion("symbol is null");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNotNull() {
            addCriterion("symbol is not null");
            return (Criteria) this;
        }

        public Criteria andSymbolEqualTo(String value) {
            addCriterion("symbol =", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotEqualTo(String value) {
            addCriterion("symbol <>", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThan(String value) {
            addCriterion("symbol >", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThanOrEqualTo(String value) {
            addCriterion("symbol >=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThan(String value) {
            addCriterion("symbol <", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThanOrEqualTo(String value) {
            addCriterion("symbol <=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLike(String value) {
            addCriterion("symbol like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotLike(String value) {
            addCriterion("symbol not like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolIn(List<String> values) {
            addCriterion("symbol in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotIn(List<String> values) {
            addCriterion("symbol not in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolBetween(String value1, String value2) {
            addCriterion("symbol between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotBetween(String value1, String value2) {
            addCriterion("symbol not between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andTradeTimeIsNull() {
            addCriterion("trade_time is null");
            return (Criteria) this;
        }

        public Criteria andTradeTimeIsNotNull() {
            addCriterion("trade_time is not null");
            return (Criteria) this;
        }

        public Criteria andTradeTimeEqualTo(String value) {
            addCriterion("trade_time =", value, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeNotEqualTo(String value) {
            addCriterion("trade_time <>", value, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeGreaterThan(String value) {
            addCriterion("trade_time >", value, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeGreaterThanOrEqualTo(String value) {
            addCriterion("trade_time >=", value, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeLessThan(String value) {
            addCriterion("trade_time <", value, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeLessThanOrEqualTo(String value) {
            addCriterion("trade_time <=", value, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeLike(String value) {
            addCriterion("trade_time like", value, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeNotLike(String value) {
            addCriterion("trade_time not like", value, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeIn(List<String> values) {
            addCriterion("trade_time in", values, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeNotIn(List<String> values) {
            addCriterion("trade_time not in", values, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeBetween(String value1, String value2) {
            addCriterion("trade_time between", value1, value2, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeTimeNotBetween(String value1, String value2) {
            addCriterion("trade_time not between", value1, value2, "tradeTime");
            return (Criteria) this;
        }

        public Criteria andTradeMsIsNull() {
            addCriterion("trade_ms is null");
            return (Criteria) this;
        }

        public Criteria andTradeMsIsNotNull() {
            addCriterion("trade_ms is not null");
            return (Criteria) this;
        }

        public Criteria andTradeMsEqualTo(String value) {
            addCriterion("trade_ms =", value, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsNotEqualTo(String value) {
            addCriterion("trade_ms <>", value, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsGreaterThan(String value) {
            addCriterion("trade_ms >", value, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsGreaterThanOrEqualTo(String value) {
            addCriterion("trade_ms >=", value, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsLessThan(String value) {
            addCriterion("trade_ms <", value, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsLessThanOrEqualTo(String value) {
            addCriterion("trade_ms <=", value, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsLike(String value) {
            addCriterion("trade_ms like", value, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsNotLike(String value) {
            addCriterion("trade_ms not like", value, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsIn(List<String> values) {
            addCriterion("trade_ms in", values, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsNotIn(List<String> values) {
            addCriterion("trade_ms not in", values, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsBetween(String value1, String value2) {
            addCriterion("trade_ms between", value1, value2, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andTradeMsNotBetween(String value1, String value2) {
            addCriterion("trade_ms not between", value1, value2, "tradeMs");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(String value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(String value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(String value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(String value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(String value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(String value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLike(String value) {
            addCriterion("price like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotLike(String value) {
            addCriterion("price not like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<String> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<String> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(String value1, String value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(String value1, String value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andVolIsNull() {
            addCriterion("vol is null");
            return (Criteria) this;
        }

        public Criteria andVolIsNotNull() {
            addCriterion("vol is not null");
            return (Criteria) this;
        }

        public Criteria andVolEqualTo(String value) {
            addCriterion("vol =", value, "vol");
            return (Criteria) this;
        }

        public Criteria andVolNotEqualTo(String value) {
            addCriterion("vol <>", value, "vol");
            return (Criteria) this;
        }

        public Criteria andVolGreaterThan(String value) {
            addCriterion("vol >", value, "vol");
            return (Criteria) this;
        }

        public Criteria andVolGreaterThanOrEqualTo(String value) {
            addCriterion("vol >=", value, "vol");
            return (Criteria) this;
        }

        public Criteria andVolLessThan(String value) {
            addCriterion("vol <", value, "vol");
            return (Criteria) this;
        }

        public Criteria andVolLessThanOrEqualTo(String value) {
            addCriterion("vol <=", value, "vol");
            return (Criteria) this;
        }

        public Criteria andVolLike(String value) {
            addCriterion("vol like", value, "vol");
            return (Criteria) this;
        }

        public Criteria andVolNotLike(String value) {
            addCriterion("vol not like", value, "vol");
            return (Criteria) this;
        }

        public Criteria andVolIn(List<String> values) {
            addCriterion("vol in", values, "vol");
            return (Criteria) this;
        }

        public Criteria andVolNotIn(List<String> values) {
            addCriterion("vol not in", values, "vol");
            return (Criteria) this;
        }

        public Criteria andVolBetween(String value1, String value2) {
            addCriterion("vol between", value1, value2, "vol");
            return (Criteria) this;
        }

        public Criteria andVolNotBetween(String value1, String value2) {
            addCriterion("vol not between", value1, value2, "vol");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(String value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(String value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(String value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(String value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(String value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(String value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLike(String value) {
            addCriterion("amount like", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotLike(String value) {
            addCriterion("amount not like", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<String> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<String> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(String value1, String value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(String value1, String value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAskP1IsNull() {
            addCriterion("ask_p1 is null");
            return (Criteria) this;
        }

        public Criteria andAskP1IsNotNull() {
            addCriterion("ask_p1 is not null");
            return (Criteria) this;
        }

        public Criteria andAskP1EqualTo(String value) {
            addCriterion("ask_p1 =", value, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1NotEqualTo(String value) {
            addCriterion("ask_p1 <>", value, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1GreaterThan(String value) {
            addCriterion("ask_p1 >", value, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1GreaterThanOrEqualTo(String value) {
            addCriterion("ask_p1 >=", value, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1LessThan(String value) {
            addCriterion("ask_p1 <", value, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1LessThanOrEqualTo(String value) {
            addCriterion("ask_p1 <=", value, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1Like(String value) {
            addCriterion("ask_p1 like", value, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1NotLike(String value) {
            addCriterion("ask_p1 not like", value, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1In(List<String> values) {
            addCriterion("ask_p1 in", values, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1NotIn(List<String> values) {
            addCriterion("ask_p1 not in", values, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1Between(String value1, String value2) {
            addCriterion("ask_p1 between", value1, value2, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskP1NotBetween(String value1, String value2) {
            addCriterion("ask_p1 not between", value1, value2, "askP1");
            return (Criteria) this;
        }

        public Criteria andAskV1IsNull() {
            addCriterion("ask_v1 is null");
            return (Criteria) this;
        }

        public Criteria andAskV1IsNotNull() {
            addCriterion("ask_v1 is not null");
            return (Criteria) this;
        }

        public Criteria andAskV1EqualTo(String value) {
            addCriterion("ask_v1 =", value, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1NotEqualTo(String value) {
            addCriterion("ask_v1 <>", value, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1GreaterThan(String value) {
            addCriterion("ask_v1 >", value, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1GreaterThanOrEqualTo(String value) {
            addCriterion("ask_v1 >=", value, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1LessThan(String value) {
            addCriterion("ask_v1 <", value, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1LessThanOrEqualTo(String value) {
            addCriterion("ask_v1 <=", value, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1Like(String value) {
            addCriterion("ask_v1 like", value, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1NotLike(String value) {
            addCriterion("ask_v1 not like", value, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1In(List<String> values) {
            addCriterion("ask_v1 in", values, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1NotIn(List<String> values) {
            addCriterion("ask_v1 not in", values, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1Between(String value1, String value2) {
            addCriterion("ask_v1 between", value1, value2, "askV1");
            return (Criteria) this;
        }

        public Criteria andAskV1NotBetween(String value1, String value2) {
            addCriterion("ask_v1 not between", value1, value2, "askV1");
            return (Criteria) this;
        }

        public Criteria andBidP1IsNull() {
            addCriterion("bid_p1 is null");
            return (Criteria) this;
        }

        public Criteria andBidP1IsNotNull() {
            addCriterion("bid_p1 is not null");
            return (Criteria) this;
        }

        public Criteria andBidP1EqualTo(String value) {
            addCriterion("bid_p1 =", value, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1NotEqualTo(String value) {
            addCriterion("bid_p1 <>", value, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1GreaterThan(String value) {
            addCriterion("bid_p1 >", value, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1GreaterThanOrEqualTo(String value) {
            addCriterion("bid_p1 >=", value, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1LessThan(String value) {
            addCriterion("bid_p1 <", value, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1LessThanOrEqualTo(String value) {
            addCriterion("bid_p1 <=", value, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1Like(String value) {
            addCriterion("bid_p1 like", value, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1NotLike(String value) {
            addCriterion("bid_p1 not like", value, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1In(List<String> values) {
            addCriterion("bid_p1 in", values, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1NotIn(List<String> values) {
            addCriterion("bid_p1 not in", values, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1Between(String value1, String value2) {
            addCriterion("bid_p1 between", value1, value2, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidP1NotBetween(String value1, String value2) {
            addCriterion("bid_p1 not between", value1, value2, "bidP1");
            return (Criteria) this;
        }

        public Criteria andBidV1IsNull() {
            addCriterion("bid_v1 is null");
            return (Criteria) this;
        }

        public Criteria andBidV1IsNotNull() {
            addCriterion("bid_v1 is not null");
            return (Criteria) this;
        }

        public Criteria andBidV1EqualTo(String value) {
            addCriterion("bid_v1 =", value, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1NotEqualTo(String value) {
            addCriterion("bid_v1 <>", value, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1GreaterThan(String value) {
            addCriterion("bid_v1 >", value, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1GreaterThanOrEqualTo(String value) {
            addCriterion("bid_v1 >=", value, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1LessThan(String value) {
            addCriterion("bid_v1 <", value, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1LessThanOrEqualTo(String value) {
            addCriterion("bid_v1 <=", value, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1Like(String value) {
            addCriterion("bid_v1 like", value, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1NotLike(String value) {
            addCriterion("bid_v1 not like", value, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1In(List<String> values) {
            addCriterion("bid_v1 in", values, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1NotIn(List<String> values) {
            addCriterion("bid_v1 not in", values, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1Between(String value1, String value2) {
            addCriterion("bid_v1 between", value1, value2, "bidV1");
            return (Criteria) this;
        }

        public Criteria andBidV1NotBetween(String value1, String value2) {
            addCriterion("bid_v1 not between", value1, value2, "bidV1");
            return (Criteria) this;
        }

        public Criteria andOiIsNull() {
            addCriterion("oi is null");
            return (Criteria) this;
        }

        public Criteria andOiIsNotNull() {
            addCriterion("oi is not null");
            return (Criteria) this;
        }

        public Criteria andOiEqualTo(String value) {
            addCriterion("oi =", value, "oi");
            return (Criteria) this;
        }

        public Criteria andOiNotEqualTo(String value) {
            addCriterion("oi <>", value, "oi");
            return (Criteria) this;
        }

        public Criteria andOiGreaterThan(String value) {
            addCriterion("oi >", value, "oi");
            return (Criteria) this;
        }

        public Criteria andOiGreaterThanOrEqualTo(String value) {
            addCriterion("oi >=", value, "oi");
            return (Criteria) this;
        }

        public Criteria andOiLessThan(String value) {
            addCriterion("oi <", value, "oi");
            return (Criteria) this;
        }

        public Criteria andOiLessThanOrEqualTo(String value) {
            addCriterion("oi <=", value, "oi");
            return (Criteria) this;
        }

        public Criteria andOiLike(String value) {
            addCriterion("oi like", value, "oi");
            return (Criteria) this;
        }

        public Criteria andOiNotLike(String value) {
            addCriterion("oi not like", value, "oi");
            return (Criteria) this;
        }

        public Criteria andOiIn(List<String> values) {
            addCriterion("oi in", values, "oi");
            return (Criteria) this;
        }

        public Criteria andOiNotIn(List<String> values) {
            addCriterion("oi not in", values, "oi");
            return (Criteria) this;
        }

        public Criteria andOiBetween(String value1, String value2) {
            addCriterion("oi between", value1, value2, "oi");
            return (Criteria) this;
        }

        public Criteria andOiNotBetween(String value1, String value2) {
            addCriterion("oi not between", value1, value2, "oi");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}